package com.bazinga.contact.model;

import java.io.Serializable;
import java.sql.Time;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="studentSchedule")
public class StudentSchedule implements Serializable{

	private static final long serialVersionUID = -7114208325521715345L;
	
	private Long userid;
	private Long scheduleid;
	private String dayofweek;
	private Time start_time;
	private Time end_time;

	@Id
	@GeneratedValue
	@Column(name="scheduleid")
	public Long getScheduleid() {
		return scheduleid;
	}
	@Column(name="scheduleid")
	public void setScheduleid(Long scheduleid) {
		this.scheduleid = scheduleid;
	}
	@Column(name="userid")
	public Long getUserid() {
		return userid;
	}
	@Column(name="userid")
	public void setUserid(Long userid) {
		this.userid = userid;
	}
	@Column(name="dayofweek")
	public String getDayofweek() {
		return dayofweek;
	}
	@Column(name="dayofweek")
	public void setDayofweek(String dayofweek) {
		this.dayofweek = dayofweek;
	}
	@Column(name="start_time")
	public Time getStart_time() {
		return start_time;
	}
	@Column(name="start_time")
	public void setStart_time(Time start_time) {
		this.start_time = start_time;
	}
	@Column(name="end_time")
	public Time getEnd_time() {
		return end_time;
	}
	@Column(name="end_time")
	public void setEnd_time(Time end_time) {
		this.end_time = end_time;
	}
}


